package com.hongminzheng.openapi.service;

import com.github.pagehelper.PageInfo;
import com.hongminzheng.openapi.pojo.Route;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author hmz
 * @date2020/10/29 version V1.0
 **/
public interface RouteService {

    int deleteByPrimaryKey(Integer id);

    int insert(Route route);

    int insertSelective(Route route);

    Route selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Route route);

    int updateByPrimaryKey(Route route);

    PageInfo<Route> findPage(Integer pageNum, Integer pageSize,Route route);

}
